home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 25 / AMIGAplus Sonderheft 25 (2000)(Falke)(DE)(Track 1 of 4)[!].iso / libs / README < prev    next >
Text File  |  2000-05-08  |  20KB  |  444 lines

  1. README for ixemul.library and ixnet.library version 47.3
  2.  
  3.  
  4. IMPORTANT
  5. =========
  6.  
  7. Always read the NEWS file for information about new features! The NEWS file
  8. is part of the ixemul source archive.
  9.  
  10. Also look at the ix.h header: ixemul-specific functions are documented in that
  11. header.
  12.  
  13. Starting with ixemul.library version 42.0 the ssystem() function is no longer
  14. supported. The only two applications use this function are (to my knowledge)
  15. gcc and man. You should either upgrade to the latest gcc (2.7.2 or higher)
  16. or replace gcc by gccv (which is part of older gcc distributions). You can
  17. find a new 'man' version in Geek Gadgets.
  18.  
  19. Starting with ixemul.library version 43.1 various networking functions have
  20. been moved to libc.a. See the NEWS file for details. It only concerns
  21. certain somewhat specialized functions, so 'normal' clients and daemons
  22. shouldn't be affected.
  23.  
  24. Starting with ixemul.library version 46.0 some basic p.OS support has been
  25. added, which is completed in 47.0. See README.pOS for more details.
  26.  
  27. This library is part of Geek Gadgets.  For more information see
  28. ftp.ninemoons.com, /pub/geekgadgets.
  29.  
  30.  
  31.  
  32. INTRODUCTION
  33. ============
  34.  
  35. Originally created in 1991 or 1992 by Markus Wild, the ixemul.library has
  36. become the driving force behind the Geek Gadgets project.
  37.  
  38. Essentially it is a BSD Unix kernel running under the Amiga OS.  The
  39. code for handling Unix signals is taken almost verbatim from the BSD kernel
  40. sources, for example.  Multitasking and file I/O is, of course, passed on
  41. to the Amiga OS.  Because the library resembles BSD Unix so closely, it has
  42. made it possible to port almost all Unix programs.
  43.  
  44. However, because of the conformance to BSD, the library is not too
  45. conservative with resources or overly concerned with Amiga standards.  For
  46. example, command line expansion uses Unix semantics and doesn't use
  47. ReadArgs().  The purpose of ixemul.library is to emulate Unix as well as is
  48. technically possible.  So given a choice between Amiga behavior or Unix
  49. behavior, the last one is chosen.
  50.  
  51.  
  52.  
  53. HISTORY
  54. =======
  55.  
  56. As I mentioned, the library was originally created by Markus Wild.  It
  57. allowed him to port Unix programs, most notably gcc and a Unix shell
  58. (pdksh), which in turn gave him the opportunity to start porting NetBSD
  59. Unix.  At some point he stopped working on ixemul.library and continued
  60. with the real thing, NetBSD.
  61.  
  62. Although Markus made some snapshots of his library available on Internet,
  63. he was about the only one who could actually compile it.  The snapshots
  64. where never complete and didn't use a standard Make tool.
  65.  
  66. Rafael W. Luebbert managed around June 1994 to actually compile the
  67. library using bits and pieces from four different source releases.  Even
  68. then he had to write some missing code and had to debug a lot before he got
  69. it working.  Luebbert released versions 40.1 through 40.4.  Since this was
  70. the only version available that could actually be compiled, Fred Fish
  71. switched to version 40.4 for his FreshFish CDROM series.
  72.  
  73. Leonard Norrgard also started working on 40.4, fixing a variety of
  74. problems.  So for a time there were two versions of the library, both
  75. derived from 40.4.  Around March 1995 I began contributing my own fixes for
  76. the library to Fred, including a fix for a horrible memory trashing bug
  77. which substantially improved the stability of the library.  Starting with
  78. version 42.0 I became the new maintainer of the library.  I merged
  79. Leonard's version of the library into 42.0, the whole source distribution
  80. was cleaned up and reorganized and many bugs were fixed.  Also new
  81. functionality was added such as timezone support.
  82.  
  83. Thanks to Jeff Shepherd the support for network functions has been totally
  84. reorganized for version 43.0.  A new ixnet.library was introduced that
  85. contains all the network handling.  This new library supports both AS225
  86. and AmiTCP.  Furthermore, there is no longer any need to maintain two
  87. versions of an Internet client or daemon as ixnet.library will do the
  88. multiplexing for you.  The program itself is completely shielded from the
  89. actual networking package in use.  Also, should a new networking package
  90. appear for the Amiga, then it is relatively easy to add support for that
  91. package to ixnet.library.  All existing programs will automatically be able
  92. to work with the new package too.
  93.  
  94. Version 43.0 also introduced support for automatic stack extension
  95. (provided you compiled your program with the -mstackextend flag).  This
  96. support was done by Matthias Fleischer.
  97.  
  98. Last, but not least, I've added the ptrace() function, which was essential
  99. for porting the GNU debugger, GDB.  So it is now possible to use a decent
  100. debugger with gcc (and with the GNU C++, fortran and ADA compilers).
  101.  
  102. Version 43.1 was a bug-fix release, which further improved stability.
  103.  
  104. Version 44.0 made the library much more (Net)BSD compatible, making it even
  105. easier to port Unix programs. Also many bugs were fixed.
  106.  
  107. Version 45.0 fixed a few bugs, improved stack extension (see the new ixstack
  108. utility) and further improved Ctrl-C handling by adding 'sessions', something
  109. that was needed for the Geek Gadgets X port.
  110.  
  111. Version 45.1 was a bug-fix release, and also improved uid/gid handling.
  112.  
  113. Version 46.0 adds shared memory (shm*) and basic p.OS support.
  114.  
  115. Version 46.1 renames the __os variable to ix_os.
  116.  
  117. Version 47.0 completes the p.OS support and adds Unix semaphore and message
  118. support. Also fixes several bugs.
  119.  
  120. Version 47.1 fixes a minor but very irritating bug in the ixstack utility.
  121.  
  122. Version 47.2 is a bug-fix release.
  123.  
  124. Version 47.3 is a bug-fix release.
  125.  
  126.  
  127. USAGE
  128. =====
  129.  
  130. The Aminet distribution of ixemul consists of several archives:  one for
  131. each flavor (CPU/FPU combination) of the library, one for the timezone
  132. support, an archive for documentation, an archive for various utilities and
  133. an SDK archive, containing headers, libraries and C-objects that provide
  134. the startup code.  There is also an ixemul source archive.  If you don't
  135. mind recompiling everything, and if you have a decent Geek Gadgets
  136. environment, then all you have to do is retrieve this archive, as all the
  137. other archives are generated from this source distribution.
  138.  
  139. Besides the library itself, there are also some utilities and other
  140. goodies.  First of all, there is a special trace version of the library.
  141. Together with the ixtrace tool it allows you to see which library functions
  142. are called by the program you want to debug.  If you compile the library
  143. yourself you will also get, as part of the compile process, a debug version
  144. of the library.  If you get an Enforcer hit in the library, and if you have
  145. SegTracker installed, then you can track down in which source and at which
  146. line the hit took place using the gccfindhit tool (available from Aminet
  147. and Geek Gadgets) that is similar to the FindHit tool which is part of the
  148. Enforcer package.  I've used this with great success in the past.
  149.  
  150. Various settings that influence the behavior of the library can be set
  151. using the ixprefs utility.  A small tool ixrun allowing you to run AmigaOS
  152. scripts from within the Unix shell is also provided.  An ixemul-specific
  153. pipe-handler allows you to set up a pipe between an AmigaOS utility and an
  154. Unix program.  A pipe between two Unix programs is handled by the
  155. ixemul.library itself, but since AmigaOS programs are not under the
  156. control of the library, this handler is used instead.
  157.  
  158. A recent addition is the ixstack tool, which can list and set the minimum
  159. stack size an ixemul program needs.  It can also show the actual stack
  160. usage of ixemul programs if you start it with '-s'.
  161.  
  162. Finally, the tools zic (for manipulating the timezone databases) and
  163. ixtimezone are also part of ixemul.  The ixtimezone tool can be used to
  164. automatically adjust the Amiga time based on the currently selected
  165. timezone.  The best way to use this tool is to install the timezone
  166. databases (in etc:zoneinfo), set the TZ environment variable correctly (in
  167. my case "Europe/Amsterdam"), add the line "ixtimezone -patch-resource
  168. >nil:" to your user-startup and set the Amiga clock to Greenwich Mean Time
  169. (or Universal Time, as it is now called).  Now you will never have to worry
  170. about things like Daylight Saving Time as each time ixtimezone is called,
  171. this tool ch